package com.flyme.common.rpc.support;

import com.flyme.common.rpc.util.RemoteType;

import java.lang.reflect.Method;

/**
 * @author liyanxin
 */
public class ServiceMetadata {
    private String serviceName;
    private Method serviceMethod;
    private String interfaceName;
    private Class<?> serviceInterface;
    private RemoteType remoteType;

    public ServiceMetadata() {
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public RemoteType getRemoteType() {
        return remoteType;
    }

    public void setRemoteType(RemoteType remoteType) {
        this.remoteType = remoteType;
    }

    public Class<?> getServiceInterface() {
        return serviceInterface;
    }

    public void setServiceInterface(Class<?> serviceInterface) {
        this.serviceInterface = serviceInterface;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Method getServiceMethod() {
        return serviceMethod;
    }

    public void setServiceMethod(Method serviceMethod) {
        this.serviceMethod = serviceMethod;
    }
}
